More dir-locals fixes for files.el.
authorGlenn Morris <rgm@gnu.org>
Thu, 24 Feb 2011 08:02:45 +0000 (00:02 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 24 Feb 2011 08:02:45 +0000 (00:02 -0800)
commitff7751de4176578d2479cfea771a7e506c2575f8
treef70698d6ea9338d4247ef622a4ec8baee2f7a90f
parentb2324d1923ffba95e37b55f83770ee5d22bb68bc
More dir-locals fixes for files.el.

* lisp/files.el (hack-local-variables-confirm, hack-local-variables-filter):
Doc fix (say _which_ directory `dir-name' is).
(hack-dir-local-variables): Fix setting of `dir-name'.
Previous value seems clearly wrong.  Eg put a risky variable in a
dir-locals file, visit a file in a subdirectory, see which directory
it says the risky variables come from.  It should be the one with the
associated directory variables, not the one containing the visited file.
lisp/ChangeLog
lisp/files.el